package com.sinping.qh.config;

import freemarker.template.Configuration;

/**
 * @author zhangjin
 * @create 2018/7/6
 */
public class FreemarkerConfiguration {
    private static Configuration config = null;

    /**
     * Static initialization.
     *
     * Initialize the configuration of Freemarker.
     */
    static {
        config = new Configuration();
        config.setClassForTemplateLoading(FreemarkerConfiguration.class,
                "/template");
    }

    public static Configuration getConfiguation() {
        return config;
    }
}
